package com.ruoyi.sports.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 赛事项目对象 event
 * 
 * @author ZJH
 * @date 2023-03-08
 */
public class Event extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 赛事项目ID */
    private Long eventId;

    /** 项目名字 */
    @Excel(name = "项目名字")
    private String eventName;

    /** 当前参与人数 */
    @Excel(name = "当前参与人数")
    private Long nowNumber;

    /** 最大参与人数 */
    @Excel(name = "最大参与人数")
    private Long maxNumber;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 归属运动会ID */
    @Excel(name = "归属运动会ID")
    private Long sportsMeetingId;

    public void setEventId(Long eventId) 
    {
        this.eventId = eventId;
    }

    public Long getEventId() 
    {
        return eventId;
    }
    public void setEventName(String eventName) 
    {
        this.eventName = eventName;
    }

    public String getEventName() 
    {
        return eventName;
    }
    public void setNowNumber(Long nowNumber) 
    {
        this.nowNumber = nowNumber;
    }

    public Long getNowNumber() 
    {
        return nowNumber;
    }
    public void setMaxNumber(Long maxNumber) 
    {
        this.maxNumber = maxNumber;
    }

    public Long getMaxNumber() 
    {
        return maxNumber;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setSportsMeetingId(Long sportsMeetingId) 
    {
        this.sportsMeetingId = sportsMeetingId;
    }

    public Long getSportsMeetingId() 
    {
        return sportsMeetingId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("eventId", getEventId())
            .append("eventName", getEventName())
            .append("nowNumber", getNowNumber())
            .append("maxNumber", getMaxNumber())
            .append("description", getDescription())
            .append("sportsMeetingId", getSportsMeetingId())
            .toString();
    }
}
